﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>鳄鱼标识管理系统</title>
    <link href="~/js/plugins/layui/css/layui.css" rel="stylesheet" />
    <link href="~/js/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="~/css/public.css" rel="stylesheet" />

    @RenderSection("Header", false)
</head>
<body>
    @RenderBody()


    <script src="~/js/plugins/layui/layui.js"></script>
    <script src="~/lib/jquery/dist/jquery.js"></script>
    <script src="~/js/jquery.min.js"></script>
    <script src="~/js/axios.min.js"></script>
    <script src="~/js/common.js"></script>
    <script src="~/js/select2.js"></script>
    <script src="~/js/select2_locale_zh-CN.js"></script>
    <script>
        //axios.defaults.baseURL = 'http://yscjgapi.cnfm.com.cn';
        //axios.defaults.headers.common['Authorization'] = 'Bearer ' + localStorage.getItem('X-TOKEN');
        //axios.defaults.headers.post['Content-Type'] = 'application/json';
        //// 添加响应拦截器
        //axios.interceptors.response.use(function (response) {
        //    // 对响应数据做点什么
        //    if (response.status && response.status == '401') {
        //        location.href = '/Login/index';
        //        return;
        //    }
        //    return response;
        //}, function (error) {
        //    // if (error.indexOf("401") >= 0)
        //    alert(error);
        //    return Promise.reject(error);
        //});
    </script>


    @RenderSection("Scripts", required: false)

    <script>
        layui.use(['form', 'layedit', 'laydate'], function () {
            var form = layui.form,
                layer = layui.layer,
                layedit = layui.layedit,
                //  tableChild = layui.tableChild,
                laydate = layui.laydate;
            //日期
            laydate.render({
                elem: '.date'
            });
        });
    </script>
</body>
</html>